<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>login</title>
    <link type="text/css" rel="stylesheet" href="./css/login.css"/>
</head>
<body>
<div class="list">
    <h1>登录</h1>
    <span>没有账号？转去<a href="join.html">注册</a></span>
    <hr/>
    <form onsubmit="return false">
        <input type="hidden" name="target" value="login">
        <p>
            <label for="username"><i style="background-image: url(images/username.png);"></i></label>
            <input type="text" name="username" id="username" class="put" maxlength="10" placeholder="请输入用户名"/>
            <span class="error">*</span>
        </p>
        <p>
            <label for="password"><i style="background-image: url(images/password.png);"></i></label>
            <input type="password" id="password" class="put" maxlength="15" placeholder="请输入密码"/>
            <span class="error">*</span>
        </p>
        <input type="hidden" name="psssword" id="realpwd"/>
        <p>
            <input style="margin: 0 20px" type="submit" value="登录" id="submit"/>
            <input style="margin: 0 20px" type="reset" value="重置" id="reset"/>
            <input style="margin: 0 20px" type="submit" value="游客登录" id="touristsLogin">
        </p>
    </form>
</div>

<div id="errorTips" onclick="hideError()">
    <p>用户名或者密码错误！</p>
</div>

<script src="js/lib/jquery-3.3.1.min.js"></script>
<script src="js/util/storageUtils.js"></script>
<script src="js/lib/axios.js"></script>
<script src="js/lib/md5.js"></script>
<script src="js/constant/constants.js"></script>
<script src="js/login.js"></script>
</body>
</html>